CommandLineGetString

 

The 'CommandLineGetString' function gets the parameter's string of LocalMain program.

 

string @CommandLineGetString(int index);

 

Parameters

int index : Parameter index to get. It returns 0=KK,1=LL,2=CC if execute LocalMain program as "LocalMain.exe KK LL CC"

 

Return Value

Parameter's string returns of specifed index. It returns empty string when arguments not exists or error occurs

 

Example

count = @CommandLineGetCount();

if(count > 0)

 buf = @CommandLineGetString(0);

@Message(buf);

 

Descriptions : First parameter displays if LocalMain parameter count is equal or big one. (Return value is "KK" if LocalMain excuted as "LocalMain.exe KK LL CC")

 

Relate items)

@CommandLineGetCount()

@CommandLineGetString()